<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

?>
<div class="modal modal-sm">
    <a href="javascript:void(0);" class="modal-overlay"></a>
    <div class="modal-container">
        <div class="modal-header d-flex">
            <div class="modal-title h4 col-mr-auto">在线反馈</div>
            <a href="javascript:void(0);" class="btn btn-clear"></a>
        </div>
        <div class="modal-body">
            <div class="content">
                <?php $form = ActiveForm::begin(['enableClientScript' => false]); ?>

                <?= $form->field($model, 'content')->textarea(['class' => 'form-input', 'style' => 'height:130px;', 'placeholder' => '留言内容'])->label(FALSE); ?>

                <div class="form-group">
                    <?= Html::submitButton(Yii::t('app', 'Submit'), ['class' => 'btn btn-block btn-danger btn-lg btn-auth']) ?>
                </div>

                <?php ActiveForm::end(); ?>
            </div>
        </div>
    </div>
</div>
